using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Workflows.Components
{
    [Serializable]
    public class Port
    {
        private Guid _OwnerComponentID;
        [Browsable(false), Category("Bindings")]
        public Guid OwnerComponentID
        {
            get { return _OwnerComponentID; }
            set { _OwnerComponentID = value; }
        }

        private string _DataName;
        [Browsable(false), Category("Bindings")]
        public string DataName
        {
            get { return _DataName; }
            set { _DataName = value; }
        }

        private PortDirection _Direction;
        [Browsable(false), Category("Bindings")]
        public PortDirection Direction
        {
            get { return _Direction; }
            set { _Direction = value; }
        }
	
        public Port()
        {
            this._OwnerComponentID = Guid.Empty;
            this._DataName = string.Empty;
            this._Direction = PortDirection.Outbound;
        }
    }
}
